package org.com.liurz.iresources.activiti.service.impl;

import org.com.liurz.iresources.activiti.dao.TicketReposiory2;
import org.com.liurz.iresources.activiti.entity.Ticket;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 事件处理业务类
 *
 * @author wd-pc
 *
 */
@Service
public class TicketService {
	@Autowired
	private TicketReposiory2 ticketReposiory;

	public Ticket getOne(String guid) {
		return ticketReposiory.findById(guid).get();
	}
}
